package com.example.student.model;

import lombok.Data;

import java.util.List;

@Data
public class DashboardVO {
    
    /**
     * 统计数据
     */
    private DashboardStats stats;
    
    /**
     * 最新通知
     */
    private List<NoticeVO> latestNotices;
    
    /**
     * 待办事项
     */
    private List<TodoVO> todoList;
    
    /**
     * 上次登录时间
     */
    private String lastLoginTime;
    
    @Data
    public static class DashboardStats {
        private Integer userCount;
        private Integer courseCount;
        private Integer notificationCount;
        private Integer selectionCount;
    }
    
    @Data
    public static class NoticeVO {
        private Long id;
        private String title;
        private String publishTime;
    }
    
    @Data
    public static class TodoVO {
        private Long id;
        private String tag;
        private String type;
        private String content;
        private String time;
    }
} 